<template>
	<view class="operating-networkd-list">
		<nav-bar title="运营网点列表" :showLeftIcon="true" :leftSlot="false"></nav-bar>
		<view class="title">
			<text>A运营网点名称</text>
		</view>
		<scroll-view class="content-box" scroll-y>
			<view v-for="item,index in 20" class="item-list" :key="index" @click="clickEtails(item)">
				<text>A运营网点下的公司名称</text>
				<view>
					<text>联系人：钱经理</text>
					<text>联系电话：13585347037</text>
				</view>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	import {
		baseIconUrl,
		baseImgUrl
	} from '@/config'
	export default {
		name: 'Store',
		components: {},
		data() {
			return {
				loadingHeight: '',
				scrollHeight: '',
			}
		},

		async onLoad() {
			this.scrollHeight = this.$store.getters.heightData.mainHeight - 48 + 'px'
			this.loadingHeight = this.$store.getters.heightData.mainHeight - 68 + 'px'

		},
		async onShow() {

		},
		methods: {
			clickEtails(item){
				uni.navigateTo({
					url: `/subPages/settleIn/networkDetails`
				});
			}
		}
	}
</script>
<style lang="scss" scoped>
	.operating-networkd-list {
		background: #ffffff;

		.title {
			padding: 20rpx 30rpx;
			background: #e8f2ff;

			text {
				font-family: "PingFang SC";
				font-size: 30rpx;
				font-style: normal;
				font-weight: 500;
				line-height: 40rpx;
				opacity: 0.9;
			}
		}

		.content-box {
			height: calc(100vh - 160rpx);
			padding: 30rpx;
			padding-top: 0;
			background: #ffffff;

			.item-list {
				>text {
					display: block;
					font-family: "PingFang SC";
					line-height: 40rpx;
					opacity: 0.9;
					padding-top: 40rpx;
					margin-bottom: 20rpx;
					font-size: 28rpx;
					font-weight: 400;
				}

				view {
					display: flex;
					justify-content: space-between;

					>text {
						font-family: "PingFang SC";
						line-height: 40rpx;
						opacity: 0.5;
						font-size: 24rpx;
					}
				}
			}
		}
	}
</style>